﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title></title>
    @RenderPage(Url.Content("~/Views/StealerHeader.cshtml"))
</head>
<body>
    <div style="text-align:center; margin-top:150px;">
        路径<input id="path"  type="text" value="/Data/OData/" /><br />
    <input style="margin-top:20px;" type="button"  value="开始数据入库" onclick="ImportData()"/>
    </div>
    <script>
        function ImportData()
        {
            LoadingShow();
            $.post("/Home/ImportData", { p: escape($("#path").val()) }, function (d) {
                LoadingClose();
                mini.alert(d.msg);
            });
           
         
        }

    </script>
</body>
</html>
